package com.pz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pz.gulimall.common.utils.PageUtils;
import com.pz.gulimall.product.entity.CategoryEntity;
import com.pz.gulimall.product.vo.res.CategoryOptionResVo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author PZ
 * @email pzs@gmail.com
 * @date 2024-02-01 20:22:28
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> treeList();

    void updateCategory(CategoryEntity category);

    CategoryOptionResVo getOptionsByCatId(Long catId);
}

